package com.sxf.controller.formbean;

import java.util.ArrayList;
import java.util.List;

import com.sxf.domain.Comment;
import com.sxf.domain.CommentMeta;
import com.sxf.domain.Post;

/**
 * 查询的comment结果(包含联合查询)
 * 
 * @author phsxf01
 * 
 */
public class CommentVO extends Comment {
	private static final long serialVersionUID = 1L;

	// CommentMeta对象
	private List<CommentMeta> metaList = new ArrayList<CommentMeta>();

	// Post
	private Post parentPost;
	/**
	 * 子评论
	 */
	private List<CommentVO> subCommentList = new ArrayList<CommentVO>();

	public CommentVO() {

	}

	public Post getParentPost() {
		return parentPost;
	}

	public void setParentPost(Post parentPost) {
		this.parentPost = parentPost;
	}

	public List<CommentVO> getSubCommentList() {
		return subCommentList;
	}

	public void setSubCommentList(List<CommentVO> subCommentList) {
		this.subCommentList = subCommentList;
	}

	public List<CommentMeta> getMetaList() {
		return metaList;
	}

	public void setMetaList(List<CommentMeta> metaList) {
		this.metaList = metaList;
	}

}
